<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
	</body>
</html>
<script>
	
	function Person(username){
		this.username = username;
		this.age = '18';
	}
	
	Person.prototype.hello = function (){
		console.log(this.username);
	}
	
	
	let xm = new Person('小明');	
	console.log(xm);
	let xh = new Person('小花');
	console.log(xh);
	
</script>